package com.atguigu.srb.core.service;

import com.atguigu.srb.core.pojo.entity.BorrowInfo;
import com.atguigu.srb.core.pojo.entity.vo.BorrowInfoVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 借款信息表 服务类
 * </p>
 *
 * @author Atguigu
 * @since 2023-05-26
 */
public interface BorrowInfoService extends IService<BorrowInfo> {

    void saveBorrowInfo(BorrowInfo borrowInfo, String token);

    Integer getStatus(String token);

    List<BorrowInfoVO> getBorrowInfoVOs();

    Map<String, Object> getBorrowInfoById(String id);
}
